<%--
  Created by IntelliJ IDEA.
  User: lsx
  Date: 2023/6/26
  Time: 16:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>login</title>
</head>
<body background="resources/webapp/uploaded/back.jpg">
<div align="center">
    <br><br>
    <h2>登录界面</h2><br><br>
    <span th:text="${data}" style="text-color:red;font-size: 10px"></span>
    <form method="get" action="/loginSuccess">
        用户名:<input type="text" name="user" placeholder="请输入用户名" required/><br><br>
        密码：<input type="text" name="password" placeholder="请输入密码" required/><br><br>
        <input type="submit" value="登录">
    </form>
    <br>
    <form method="get" action="/toRegister">
        <input type="submit" value="注册">
    </form>
</div>
</body>
</html>